package com.xyy.saas.payment.adpater.fumin.config;

import com.xyy.saas.payment.adpater.fumin.encrypt.Encryptor;
import com.xyy.saas.payment.adpater.fumin.encrypt.RSAEncryptor;

/**
 * 加密类枚举
 *
 * @author miwenming
 * @date 2019/07/31
 */
public enum EncryptorsClassEnum {
    RSA(RSAEncryptor.class),
    RSAV2(RSAEncryptor.class),
    ;

    private Class<? extends Encryptor> clazz;
    EncryptorsClassEnum(Class<? extends Encryptor> clazz) {
        this.clazz = clazz;
    }

    public Class<? extends Encryptor> getClazz() {
        return clazz;
    }
}
